package com.test.service.Impl;

import com.commons.entity.ResultFul;
import com.test.mapper.UserMapper;
import com.test.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public ResultFul findBySid(Integer sid) {
        return ResultFul.success(userMapper.findBySid(sid),"查询学生信息成功！！");
    }
}
